import request from "@/utils/request";

export const countAll = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countAll",
    method: "get",
    params,
  });
};
export const countRy = (data) => {
  return request({
    url: "/inspectionPlanTaskCount/countRy",
    method: "post",
    data,
  });
};
export const countAllRy = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countAllRy",
    method: "get",
    params,
  });
};

export const countByLx = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countRoute",
    method: "get",
    params,
  });
};

export const countByTime = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countTime",
    method: "get",
    params,
  });
};
export const countByType = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countType",
    method: "get",
    params,
  });
};
export const countHidden = (params) => {
  return request({
    url: "/inspectionPlanTaskCount/countRouteDanger",
    method: "get",
    params,
  });
};
